package com.ryan.encrypttool.business.auth.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

import javax.websocket.server.ServerEndpoint;

/**
 * @program encrypt-tool
 * @description
 * @author ryan
 * @create 2024-03-19 23:45
 **/
@Configuration
public class WebsocketConfig {

  @Bean
  public ServerEndpointExporter serverEndpointExporter(){

    return new ServerEndpointExporter();

  }

}
